package com.lotter.api.service;

import java.io.IOException;

import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import com.lotter.common.exception.LotterCusException;
import com.lotter.common.util.UploadUtils;

@Service
public class ImageUploadService {
	
	//图片上传
	public String saveImagePartners(MultipartFile multipartFile,String path)throws LotterCusException,IOException {
		 return UploadUtils.UploadFile(multipartFile,path) ;
	}
	
}
